Research on the Processing Technology and Programming of Gear Shafts

Table of Contents

CNC lathes and milling machines are currently the most widely used equipment in small and medium-sized enterprises.Conventional CNC lathes are primarily used for machining rotary parts such as shafts and discs.

CNC milling machines feature a rotary table on the worktable, enabling selective milling of shaft components.

Due to their long length and small diameter, gear shaft parts present significant machining challenges on lathes.

Gear shafts are mechanical components primarily used for transmitting power or torque.

Efficient machining processes not only enhance the surface quality of shaft workpieces but also improve dimensional and geometric tolerances.

This paper focuses on turning shaft components, followed by milling the gear sections using a four-axis machine tool.

Modern machine tools offer increasingly advanced functionality and precision, demanding higher quality standards for machined products.

Shaft components are among the most common in industry.

Due to their structural characteristics, shafts are prone to deformation and bending during machining.

In recent years, numerous scholars have analyzed machining processes for slender shafts.

Zhao Jinwei investigated CNC lathe machining of slender shafts, proposing suitable clamping methods and processing techniques.

Gong Shuhong developed an analytical deformation model for slender shafts under cutting forces through research.

Zhang Mingyan established different clamping methods—one clamp and one center versus two centers—for machining long shaft components, employing finite element analysis for slender shafts.

This paper investigates gear shaft machining processes using a four-station CNC lathe and a four-axis CNC milling machine.

During turning operations, a two-center reverse-tooling and reverse-feed technique ensures gear shaft coaxiality.

For finishing, segmented single-end finishing compensates for dimensional errors caused by machine tool lead screw backlash, thereby reducing machining steps.

Drawing Analysis

The material for this gear shaft, 20CrMnTi, is a high-performance carburizing steel characterized by high hardenability and excellent mechanical properties.

The mechanical properties of 20CrMnTi are as follows:

Tensile strength (σb) ≥ 1080 MPa; Yield strength (σs) ≥ 835 MPa.

It ensures hardenability while exhibiting particularly high low-temperature impact toughness.

20CrMnTi is a steel for surface carburizing and hardening.

It exhibits good machinability with minimal deformation during processing and possesses excellent fatigue resistance.

Primary applications include shaft components, piston parts, and various specialized automotive and aerospace components requiring superior wear resistance and fatigue endurance, suitable for heavy-duty or high-speed transmission systems.

Blank dimensions: Φ45×150 mm. Both ends feature center holes.

Left and right stepped shafts mount gears respectively. Surface roughness requirement: Ra 1.6.

Tight dimensional tolerances with coaxiality tolerance of 0.025 mm.

Right end has M12x6g thread. For the gear section: – Module: 2 – Number of teeth: 15 – Pressure angle: 20°.

Detailed structural dimensions are shown in Figure 1.

Figure 1 Gear Shaft Machining Drawing(1)
Figure 1 Gear Shaft Machining Drawing(1)

Shaft Machining Process

  • Process Analysis and Operation Sequencing

This component is a typical shaft part requiring high dimensional accuracy.

The dimensional tolerance for both left and right bearing seats is 0.018 mm; the coaxiality requirement for both bearing seats is 0.025 mm.

During turning, machinists employ a dual-center method to ensure shaft coaxiality.

When machining the left bearing seat, reverse-angle roughing followed by reverse-angle finishing is used.

For thread machining, an extended-reach thread turning tool is employed.

Because the material is highly hard, machinists divide thread turning into 10 passes to prevent thread chipping and deformation.

For rough turning, a smaller cutting depth and higher linear speed were selected.

Machinists used cubic boron nitride (CBN) inserts for high-speed, slow-feed finishing to achieve the required surface roughness of Ra 1.6.

Table 1 presents the machining process card.

Table 1 Machining Process Card
Table 1 Machining Process Card
  • Programming Process

A combination of manual and automatic programming is employed.

Automatic programming utilizes Mastercam 2024, which features robust modeling capabilities, diverse machining strategies, and reliable toolpath simulation.

During tool and blank setup, the dimensions match the actual tool size, ensuring error-free machining and collision avoidance.

Figure 2 illustrates the programming for finishing the left-end diameter of the shaft using a 35-degree reverse tool, with the toolpath simulation shown in Figure 2.

Figure 2 Toolpath Trajectory and Simulation Process
Figure 2 Toolpath Trajectory and Simulation Process
  • Machining Process

Machinists use the Chenbang Machine Tool CK6150 (Huazhong 818A system) with a four-station front tool holder to machine the part during turning operations.

The process begins with rough turning of the right-end diameter and left-end diameter, followed by finish turning of the thread diameter and cutting the thread relief groove.

Next, the thread is turned, concluding with final finish turning.

Machinists clamp the workpiece as tightly as possible during thread turning to prevent deformation caused by excessive cutting forces and minimize movement during machining.

Given the material’s high hardness, shallow cutting depths (0.5 mm per side) are selected.

During finishing, machinists machine each step dimension separately to ensure dimensional accuracy. Figure 3 illustrates the machining process.

Figure 3 Actual Turning Process
Figure 3 Actual Turning Process

Gear Machining Process

  • Function and Advantages of Gear Shafts

Gear shafts establish power transmission chains by meshing with gears, transferring motion and torque to other mechanical components.

They efficiently transmit input power to the output end, ensuring the normal operation of mechanical systems.

Key Advantages of Gear Shafts Over Separate Shafts, Gears, and Keys – Integrated shaft-gear construction provides high rigidity, low noise during transmission, and simplified installation. 

As a core component of gear drives, gear shafts support gears, enable torque amplification through gear ratio adjustments, and function as part of balancing mechanisms.

Disadvantages include multiple machining steps, extended processing times, and high manufacturing complexity.

  • Modeling and Analysis

Using NX2412 for modeling, analyze the drawings and review relevant gear parameters.

Employ the “Cylindrical Gear” command within the software’s GC Toolbox to complete the gear shaft modeling.

Analysis of the model indicates a minimum root radius R0.75 at the gear root base.

Machinists performed rough machining with an R2 ball-nose cutter and then finished the tooth surfaces with an R1 ball-nose cutter.

Machinists manually ground the tooth surfaces with sandpaper to complete the gear shaft processing.

Figure 4 shows the software-generated model of the gear shaft.

Figure 4 Three Dimensional Modeling of Gear Shaft
Figure 4 Three Dimensional Modeling of Gear Shaft
  • Programming and Machining Process

(1)Roughing of Teeth

Establish the programming coordinate system. Create R2 and RI ball cutters.

Define the blank based on the tooth section. Plot isoparametric curves at the root bottom, parallel to the axis direction, to serve as programming guide lines.

Employ Variable Contour Milling [ARIABLE-CONTOUR].

Variable contour milling is the fundamental variable-axis surface contour milling for components or cutting zones featuring diverse drive methods, spatial ranges, cutting modes, and tool axes.

Drive Method: Select “Curve/Point,” choose the curve at the tooth root base as the drive geometry, with a component allowance of 0.1mm; Tool axis: Select “Perpendicular to part”; “Multiple allowance offset” set to 3mm; “Increment” 0.5mm.

Set linear approach/retract type; Spindle speed 7,000 rpm; Feed rate 200 mm/min to generate toolpath.

Transform the generated path using “Rotate around straight line” with a rotation angle of 24°, creating 15 associated copies.

Array replicate the generated path by selecting all paths, post-process, and generate a program. Figure 5 shows the tooth roughing path.

Figure 5 Roughing Path
Figure 5 Roughing Path

(2)Finishing of Tooth Surfaces

Employ variable contour milling using an R2 ball-end mill to finish the upper tooth surfaces.

Select “Surface Area” as the drive method; set “Cutting Mode” to reciprocating with ‘Quantity’ at 20; configure the tool axis as “Away from Straight Line” with a 0mm allowance to generate the toolpath.

Transform the generated path using “Rotate around straight line” with a rotation angle of 24° and 15 associated copies.

Figure 6 shows the tooth surface finishing path.

Figure 6 Gear Tooth Surface Finishing Trajectory
Figure 6 Gear Tooth Surface Finishing Trajectory

Similarly, perform finishing operations on the right side of the gear tooth surface.

(3)Finishing the Tooth Root

Use variable contour milling. Select “Curve/Point” as the drive method.

Choose the curve at the bottom of the tooth root as the drive geometry.

Set part allowance to 0. Select “Perpendicular to Part” for the tool axis.

Multiple Allowance Offset“ set to 1mm; ”Increment” 0.25mm.

Set linear infeed and outfeed type: Spindle speed 8000 rpm; Feed rate 200 mm/min. Generate toolpath.

Transform the generated path using “Rotate around straight line” with a rotation angle of 24°, creating 15 associated copies.

Figure 7 shows the tooth root bottom machining path.

Figure 7 Machining Path at the Root of the Tooth
Figure 7 Machining Path at the Root of the Tooth

(4)Machining

Machinists machined the gear shaft using a Neway VM-1050S four-axis machine tool.

This four-axis milling machine incorporates a rotary axis mounted on the worktable, rotating around the X-axis and defined as the A-axis.

Machinists used a clamp-and-center setup during clamping.

Machinists used a dial indicator to locate the highest point of the gear, then aligned the workpiece by moving it left and right with a copper hammer.

The program is run to perform machining. The machined gear shaft exhibits surface waviness on the tooth profile.

After manual polishing and grinding, it passes assembly and operational testing, as shown in Figure 8.

Figure 8 Gear Shaft Under Processing
Figure 8 Gear Shaft Under Processing

Conclusion

This paper systematically investigates the machining process and programming methods for 20CrMnTi gear shafts through a combination of theoretical analysis and practical application, achieving the following key results:

The application of a two-center reverse-cutting process successfully met the 0.025 mm concentricity tolerance requirement.

Actual machining data indicates that radial runout errors remained stable within 0.01 mm during dual-setup machining, demonstrating improved efficiency and precision compared to traditional setup methods.

The CBN insert combined with finishing parameters (1600 r/min, feed rate 0.08 mm/r) achieved a surface roughness Ra value of 1.2–1.4 μm.

Dimensional tolerances were met in the first setup, eliminating the secondary grinding step required in conventional processes.

An innovative variable allowance layered machining method was applied in gear processing: – Roughing stage: 3mm total allowance removed in 6 layers (0.5mm per layer) followed by two 0.25 mm gradient cuts during finishing.

This effectively reduced tool load, extending ball-nose cutter life to 2.3 times that of conventional machining.

A dual-track composite programming strategy was developed: manual programming ensures basic contour machining efficiency, while automatic programming achieves precise control of complex surfaces (tooth profile error ≤ 0.03 mm).

The synergy of these two strategies shortens total programming time.

It should be noted that improvements are still needed in the following aspects during machining:

(1) Manual intervention during the gear polishing stage consumes a significant portion of total working hours.

It is recommended to develop a flexible grinding device to achieve automation.

(2) During four-axis simultaneous milling, the coolant flow path requires optimization to eliminate waviness.

(3) The tool wear monitoring system for 20CrMnTi carburized layer machining needs refinement.

Future work will focus on developing a digital twin-based intelligent process parameter optimization system to further enhance the automation level of gear shaft machining.

FAQ

The primary challenges include maintaining coaxiality across long, slender shafts, preventing deformation due to cutting forces, achieving high surface roughness standards, and ensuring precise dimensional tolerances. These issues require optimized clamping, segmented machining, and advanced toolpath programming.

20CrMnTi is a high-performance carburizing steel with excellent hardenability, wear resistance, and fatigue strength. It maintains dimensional stability during machining and is ideal for high-speed, heavy-duty gear transmission components in automotive and aerospace applications.

This method stabilizes the workpiece between two centers during turning, ensuring both ends remain aligned along the same axis. It significantly reduces runout errors and deformation, achieving coaxiality tolerances within 0.025 mm.

CBN inserts enable high-speed, slow-feed finishing that produces superior surface quality (Ra 1.2–1.4 μm). They resist wear when cutting hardened materials like 20CrMnTi, reducing tool changes and improving machining efficiency.

Mastercam 2024 offers powerful 3D modeling and toolpath simulation features. By combining manual and automatic programming, it ensures precise control over tool movements, prevents collisions, and streamlines machining of complex surfaces like gear teeth.

Variable contour milling allows precise control over surface geometry by adjusting tool angles and cutting depths dynamically. It ensures smooth transitions on the tooth profile, minimizes tool load, and extends cutter life.

By removing material in controlled layers—3 mm total allowance in 6 layers followed by two fine finishing cuts—the method balances tool engagement and heat generation. This extends ball-nose cutter life to over twice that of conventional machining.

Machinists use a clamp-and-center setup along with a dial indicator to locate the gear’s highest point. Fine alignment is achieved by adjusting the workpiece with a copper hammer, ensuring minimal eccentricity before machining.

Manual polishing consumes significant time and labor. Introducing automated or flexible grinding devices can standardize finish quality, reduce manual intervention, and increase production throughput.

Future systems will integrate digital twin technology to simulate machining in real time, optimize parameters automatically, and enable adaptive control. These advancements will further enhance precision, reduce errors, and achieve full-process automation.

Scroll to Top